import request from '@/utils/request'

export default {
  getList: (data) => {
    return request({
      url: '/admin/queryWikiTypePage',
      method: 'post',
      data: data
    })
  },
  add: (data) => {
    return request({
      url: '/admin/wikiTypeAdd',
      method: 'post',
      data: data
    })
  },
  update:(data) => {
    return request({
      url: '/admin/wikiTypeUpdate',
      method: 'post',
      data: data
    })
  },
  delete: (data) => {
    return request({
      url: '/admin/wikiTypeDelete',
      method: 'post',
      data: data
    })
  },
}
